package com.liao.badminton.mapper;

import com.liao.badminton.code.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import com.liao.badminton.entity.SystemSmsCode;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
* @author liaocheng
* @date 2024-10-31
* description:手机验证码
*/
@Mapper
public interface SystemSmsCodeMapper extends BaseMapper<SystemSmsCode> {
    int updateBy(SystemSmsCode systemSmsCode);
    int add(SystemSmsCode systemSmsCode);
    List<SystemSmsCode> findByPageParam(PageParam<SystemSmsCode> systemSmsCodePageParam);
    int countByPageParam(PageParam<SystemSmsCode> systemSmsCodePageParam);
    int deletes(@Param("ids") List<Long> ids);
    List<SystemSmsCode> findByIds(@Param("ids") List<Long> ids);
    void addBatch(List<SystemSmsCode> list);
    SystemSmsCode findById(@Param("id") Long id);
    List<SystemSmsCode> findByParam(@Param("param") SystemSmsCode param);
}
